Re
The following example is applicable to Basic syntax:
Dim x() As String
'Initialize first three array elements
x = Array ("a", "bb", "ccc")
'Re
Redim Preserve x(4)
'initialize x(4)
x(4) = "dddd"
'return "dddd"
formula = x(4)
Array data types (Basic syntax)
Using array variables (Basic syntax)
Re
The following example is applicable to Crystal syntax:
Local StringVar array x := ["a", "bb", "ccc"];
// resize the array to size 4 while preserving the old values.
Redim Preserve x [4];
// now x = ["a", "bb", "ccc", "dddd"]
x [4] := "dddd";
x[4] // returns "dddd"
Array data types (Crystal syntax)
Using array variables (Crystal syntax)
| Seagate Software, Inc. http://www.seagatesoftware.com Please send comments to: techpubs@seagatesoftware.com |